namespace go industics.blockchain.warehouse

include "base.thrift"

service WarehouseService {
    base.BaseGetResp GetWarehouseOutbound(1:base.BaseGetReq req)
    base.BaseGetResp GetWarehouseMaterial(1:base.BaseGetReq req)

    base.BaseGetResp GetWarehouseOutboundHistory(1:base.BaseGetReq req)
    base.BaseGetResp GetWarehouseMaterialHistory(1:base.BaseGetReq req)

    base.BaseGetResp GetWarehouseOutboundByRange(1:base.BaseRangeGetReq req)
    base.BaseGetResp GetWarehouseMaterialByRange(1:base.BaseRangeGetReq req)

    base.BasePostResp CreateWarehouseOutbound(1:base.BasePostReq req)
    base.BasePostResp CreateWarehouseMaterial(1:base.BasePostReq req)

    base.BasePutResp UpdateWarehouseOutbound(1:base.BasePutReq req)
    base.BasePutResp UpdateWarehouseMaterial(1:base.BasePutReq req)

    base.BaseDeleteResp DeleteWarehouseOutbound(1:base.BaseDeleteReq req)
    base.BaseDeleteResp DeleteWarehouseMaterial(1:base.BaseDeleteReq req)
}